from django.conf.urls import url
from rest_framework import routers

from . import views


router = routers.DefaultRouter()
router.register('userapp', views.UserappViewSet)
router.register('userapp_fields', views.UserappFieldsViewSet)

urlpatterns = router.urls

urlpatterns += [
    url('hot_config/item', views.hotConfigAPIView.as_view()),
    url('dashboard/item', views.DashboardAPIView.as_view()),
]
